package main

import (
	"github.com/go-martini/martini"
	"runtime"
	"util"
)

func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	m := martini.Classic()
	util.Mid(m)
	util.Route(m)
	m.RunOnAddr(":80")
	m.Run()
}
